<div style="height:400px;width:550px;margin:50px auto;margin-left:auto;border:solid 1px;background: rgb(246, 246, 253);">
    <div style="margin-left: 45px;">
        <h1>主页</h1>
        <form action="#" role="form" style="margin-top: 90px;">
            <h1>恭喜<em style="color:red"><%= user.name %></em>，登陆成功！</h1>
            <div style="margin-top: 145px;">
                <input type="button" onclick="loginout();" value="退 出">
            </div>
        </form>
    </div>
</div>
<script>
	function loginout () {
		location.href = 'logout';
	}
</script>